﻿using UnityEngine;
using System.Collections;
using System.Collections.Generic;

public sealed partial class NetworkManager : NetworkProcessMain
{
	public void C2S_UNION_GET(int id, System.Action<ResponseModel<Union>> Callback)
	{
		NetMsg msg = new NetMsg();
		msg.Reset();
		msg.CallbackAck = Callback;
		msg.Type = typeof(ResponseModel<Union>);
		msg.IsShowError = false;
		
		PT_C2S_UNION_GET dataPush = new PT_C2S_UNION_GET();
		dataPush.Reset();
		
		dataPush.id = id;
		dataPush.PushData(ref msg);
		
		PushPacketToTrasmitQue(msg);
	}
}